<h3>
	<%= t(:a_memeber_info_update)%>
    <span class="right" style="margin-right:15px;">
		<%= link_to t(:a_member_list), {:controller => "/admin/member", :action => :index}%>
	</span>
</h3>
<div class="content2">
	<% form_tag "/admin/member/update/#{@user.id}" do -%>
	<table class="form-table">
	    <tr>
	        <th width="100px"><%= t(:a_member_name)%> ：</th>
	        <td width="320px"><%= @user.login%></td>
			<td></td>
	    </tr>
	    <tr>
	        <th><%= t(:a_member_email)%> ：</th>
	        <td><%= text_field :user, :email, :class => "regular-text"%></td>
			<td><%= error_message_on :user, :email%></td>
	    </tr>
	    <tr>
	        <th><%= t(:a_type)%> ：</th>
	        <td><%= select :user, :user_rank_id, UserRank.all.collect{ |rank| [rank.name, rank.id] }%></td>
			<td><%= error_message_on :user, :rank_id%></td>
	    </tr>
	    <tr>
	        <th><%= t(:a_balance)%> ：</th>
	        <td><%= text_field :user, :money, :class => "small-text"%></td>
			<td><%= error_message_on :user, :money%></td>
	    </tr>
	    <tr>
	        <th><%= t(:a_m_points)%> ：</th>
	        <td><%= text_field :user, :points, :class => "small-text"%></td>
			<td><%= error_message_on :user, :points%></td>
	    </tr>
		<tr>
	        <th><%= t(:a_m_mall_currency)%> ：</th>
	        <td><%= text_field :user, :coin, :class => "small-text"%></td>
			<td><%= error_message_on :user, :coin%></td>
	    </tr>
		<tr>
	        <th><%= t(:a_email_check)%> ：</th>
	        <td>
				<%= check_box :user, :email_check, {}, 1, 0%>
				<%= t(:a_user_pass_verify)%>
			</td>
	    </tr>
	    <tr>
	    	<th></th>
	        <td colspan="2">
				<%= submit_tag t(:a_update_user_info), :class => "regular-button"%>
	        </td>
	    </tr>
	</table>
	<% end%>
</div>